package DesignPatern.A11_装饰者模式.A02_抽象模式;

/**
 * @Author: Du
 * @Date: 2021/7/30 15:46
 */
public class ConcreteDecorator1 extends Decorator
{
    public ConcreteDecorator1(Component component)
    {
        super(component);
    }
    
    private void method01()
    {
        System.out.println("method01修饰");
    }
    
    @Override
    public void operate()
    {
        this.method01();
        super.operate();
    }
}
